IdeaBlade.Core Assembly > IdeaBlade.Core.Reflection Namespace > TypeFns Class > ConstructGenericInstance Method : ConstructGenericInstance(Type,Type[]) Method |
'Declaration
Public Overloads Shared Function ConstructGenericInstance( _ ByVal genericType As Type, _ ByVal ParamArray argTypes() As Type _ ) As Object
'Usage
Dim genericType As Type Dim argTypes() As Type Dim value As Object value = TypeFns.ConstructGenericInstance(genericType, argTypes)
public static object ConstructGenericInstance( Type genericType, params Type[] argTypes )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2